package org.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Hello world!
 */
@SpringBootApplication
public class TestRedisTemplate {
    public static void main(String[] args) {
        System.out.println("代码都在测试类里面");

        SpringApplication.run(TestRedisTemplate.class, args);
        // context = SpringApplication.run(Springboot01Application.class, args);
        System.out.println("--------------项目启动了---------------");
        System.out.println("代码都在测试类里面");

        //ConfigurableEnvironment environment = context.getEnvironment();
        // String port = environment.getProperty("server.port");
        //System.out.println("http://localhost:" + port + "/helloController/hello");
    }

}
